#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>

void main()
{
	char *buffer = (char*) malloc (100 * sizeof(char));
	
	gets(buffer);


	printf("\n%c\n", buffer[5]);
	system("pause");
}